package com.study.bean;

import java.math.BigDecimal;
import java.util.Date;
/*
 * 订单表
 */
public class Orders {

	private String orid ;//璁㈠崟琛╥d
	private Integer uid ;//鐢ㄦ埛id
	private String orstatus ;//璁㈠崟鐘舵
	private String orpayment ;//支鏀粯鏂瑰紡
	private BigDecimal orprice; //閲戦
	private Date ortime ;//涓嬪崟鏃堕棿
	private String oruser;//收货人
	private String orphone;//收货人号码
	private String ordizhi;//收货人地址
	private String addname;//地址名称
	private String uname;//鐢ㄦ埛鍚�
	private Long fztime;//分钟

	
	
	public Orders(String orid, Integer uid, String orstatus, String orpayment, BigDecimal orprice, Date ortime,
			String addname, String uname) {
		super();
		this.orid = orid;
		this.uid = uid;
		this.orstatus = orstatus;
		this.orpayment = orpayment;
		this.orprice = orprice;
		this.ortime = ortime;
		this.addname = addname;
		this.uname = uname;
		
	}
	
	
	public Long getFztime() {
		return fztime;
	}

	public void setFztime(Long fztime) {
		this.fztime = fztime;
	}

	public String getOruser() {
		return oruser;
	}
	public void setOruser(String oruser) {
		this.oruser = oruser;
	}
	public String getOrphone() {
		return orphone;
	}
	public void setOrphone(String orphone) {
		this.orphone = orphone;
	}
	public String getOrdizhi() {
		return ordizhi;
	}
	public void setOrdizhi(String ordizhi) {
		this.ordizhi = ordizhi;
	}
	public String getAddname() {
		return addname;
	}
	public void setAddname(String addname) {
		this.addname = addname;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getOrid() {
		return orid;
	}
	public void setOrid(String orid) {
		this.orid = orid;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getOrstatus() {
		return orstatus;
	}
	public void setOrstatus(String orstatus) {
		this.orstatus = orstatus;
	}
	public String getOrpayment() {
		return orpayment;
	}
	public void setOrpayment(String orpayment) {
		this.orpayment = orpayment;
	}
	public BigDecimal getOrprice() {
		return orprice;
	}
	public void setOrprice(BigDecimal orprice) {
		this.orprice = orprice;
	}
	public Date getOrtime() {
		return ortime;
	}
	public void setOrtime(Date ortime) {
		this.ortime = ortime;
	}
	
	
	@Override
	public String toString() {
		return "Orders [orid=" + orid + ", uid=" + uid + ", orstatus=" + orstatus + ", orpayment=" + orpayment
				+ ", orprice=" + orprice + ", ortime=" + ortime + ", addname=" + addname + ", uname=" + uname
				+ "]";
	}


	public Orders(String orid, Integer uid, String orstatus, String orpayment, BigDecimal orprice, Date ortime,
			String oruser, String orphone, String ordizhi) {
		this.orid = orid;
		this.uid = uid;
		this.orstatus = orstatus;
		this.orpayment = orpayment;
		this.orprice = orprice;
		this.ortime = ortime;
		this.oruser = oruser;
		this.orphone = orphone;
		this.ordizhi = ordizhi;
	}

	
	public Orders(String orid, Integer uid, String orstatus, String orpayment, BigDecimal orprice, Date ortime,
			String oruser, String orphone, String ordizhi, String addname, String uname) {
		super();
		this.orid = orid;
		this.uid = uid;
		this.orstatus = orstatus;
		this.orpayment = orpayment;
		this.orprice = orprice;
		this.ortime = ortime;
		this.oruser = oruser;
		this.orphone = orphone;
		this.ordizhi = ordizhi;
		this.addname = addname;
		this.uname = uname;
	}


	public Orders() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
